package edu.zac.proxy;

import edu.zac.pojo.Emp;
import edu.zac.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/21 22:41
 * @Versions 1.0
 */
@Service("empservice")
public class StaticProxy  implements EmpService {

    @Autowired
    private  EmpService target;
    @Override
    public void add(Emp emp) {
        try {
            target.add(emp);
        }catch (Exception e){


        }
    }

    @Override
    public void delete(Emp emp) {

    }
}
